$OpenBSD: patch-cgi-bin_Makefile,v 1.4 2016/09/19 09:16:51 ajacoutot Exp $
--- cgi-bin/Makefile.orig	Wed Sep 14 01:39:47 2016
+++ cgi-bin/Makefile	Sat Sep 17 15:26:03 2016
@@ -190,11 +190,9 @@ uninstall:
 # libcupscgi.so.1
 #
 
-libcupscgi.so.1:	$(LIBOBJS)
+libcupscgi.so.${LIBcupscgi_VERSION}:	$(LIBOBJS)
 	echo Linking $@...
 	$(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS)
-	$(RM) `basename $@ .1`
-	$(LN) $@ `basename $@ .1`
 
 
 #
